const parseConfig = require("./parseconf");
const path=require('path');
const appconf = parseConfig(path.join(__dirname, '../src/app.conf'));




var getAllConfig = function () {
  for (let key in appconf) {
    // console.log(key + '---' + appconf[key])
    if (appconf[key] == 'true') {
      appconf[key] = true;
    }
    if (appconf[key] == 'false') {
      appconf[key] = false;
    }
  }
  return appconf;
}

module.exports.allconfig = getAllConfig();
